HS_SET_UI
Previous Topic  Next Topic 

SYNTAX:

        HS_SET_UI(PINS, HS_UI_DELAY, HS_UI_OFFSET);


        NOTE: The argument which can use _C_Variable (PINS)


DESCRIPTION:

        Set the delay time for HS pins. "HS_SET_UI" instruction must be set below "HS_SET_BPS" instruction.


REQUIRED ARGUMENT:

        PARA1: PINS

            Set HS pin.

            PIN_GROUP_NAME or PIN_NAME or _C_Variable

        PARA2: HS_UI_DELAY

            The delay time of HS pins. Unit must be set with "UI". 1UI is the time per one bit of HS pin. "1UI = PERIOD / HS bit count[16/32(bits)]"

            UNIT: UI

        PARA3: HS_UI_OFFSET

            Set the beginning time of delay.          

            Total delay time = "HS_UI_DELAY + HS_UI_OFFSET", total delay time must satisfy the range: 0pS ~ 2500pS


EXAMPLE:

          //**For HS_PIN_BPS=400Mbps: 1UI=2.5ns, total delay time=1.2UI**//         

        HS_SET_BPS(7, 2, 400Mbps);

        HS_SET_UI( HS_CLK, 1UI, OFFSET=0.5ns );

        RUN_PATTERN(XXX:ST, XXX:SP, 7, 2);

        HS_CLEAR_BPS_SETTING();



          //**For HS_PIN_BPS=500Mbps: 1UI=2ns, total delay time=1.5UI**//         

        HS_SET_BPS(7, 2, 500Mbps);

        HS_SET_UI( HS_CLK, 1UI, OFFSET=1ns );

        RUN_PATTERN(XXX:ST, XXX:SP, 7, 2);

        HS_CLEAR_BPS_SETTING();



          //**For HS_PIN_BPS=800Mbps: 1UI=1.25ns, total delay time=2.4UI**//         

        HS_SET_BPS(7, 2, 800Mbps);

        HS_SET_UI( HS_CLK, 2UI, OFFSET=0.5ns );

        RUN_PATTERN(XXX:ST, XXX:SP, 7, 2);

        HS_CLEAR_BPS_SETTING();